#ifndef OPENGLBASE_H
#define OPENGLBASE_H

class OpenGLBase2D
{
public:
	OpenGLBase2D(char *windowName,int w,int h,void(*draw)());
	~OpenGLBase2D();
	inline int GetWidth(){return m_w;}
	inline int GetHeight(){return m_h;}
private:
	void Reshape(int w,int h);
	int m_h,m_w;
};

#endif